package com.atguigu.behavior.visitor;

import java.io.File;

public class FileClient {
    public static void main(String[] args) {
        FileStructure fileStructure = new FileStructure(new File("E:\\Projects\\JavaProjects\\course-demo\\design-pattern"));
        fileStructure.handle(new JavaFileVisitor());
        System.out.println("-------------------");
        fileStructure.handle(new ClassFileVisitor());
    }
}
